@import '~antd/dist/antd.less';
@import './static/theme';
@import './static/variable';

.ant-menu-dark .ant-menu-sub{
  background-color: @sider_menu_bar_bg;
}
#app-home{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  // *{
  //   margin: 0;
  //   padding: 0;
  // }œ
  .header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: @header_height;
    min-height: @header_height;
    line-height: @header_height;
    // border-bottom: @border_style;
    z-index: 10;
    .logo-wrap{
      box-sizing: border-box;
      width: @sider_width;
      height: 100%;
      background-color: @sider_menu_bar_bg;
      padding-left: 24px;
      float: left;
    }
    .head-menu{
      float: right;
      padding-right: 10px;
    }
    .title{
      float: left;
      margin: 0;
      vertical-align: top;
      padding-left: 10px;
      font-size: @title_size;
    }
    .menu{
      float: right;
      background-color: @layout-header-background;
      border: none;
      .ant-menu-item{
        padding: 0 8px;
      }
    }
  }
  .bottom-layout{
    margin-top: @header_height;
    background-color: @sider_menu_bar;
  }
  .sider{
    // position: fixed;
    // left: 0;
    float: left;
    height: 100%;
    background-color: @sider_menu_bar;
    overflow: auto;
    width: @sider_width;
    .menu{
      background-color: @sider_menu_bar_bg;
      .ant-menu-item{
        // background-color: @sider_menu_bar;
        margin-top: 0;
        margin-bottom: 0;
      }
    }
  }
  .right-layout{
    position: relative;
    // position: fixed;
    float: left;
    background-color: #f7f8f9;
    // left: @sider_width;
    // right: 0;
    // top: @header_height;
    // position: relative;
    // margin-left: @sider_width;
    .spin{
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      padding-top: 50%;
      background-color: rgba(0, 0, 0, 0.2);
      z-index: 10;
    }
    .bread-crumb{
      // position: absolute; top: 0; right: 0; left: 0;
    }
  }
  .content{
    position: relative;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 5;
  }
}